package com.wu.client.service;

import com.wu.client.constant.FansTypeEnum;
import com.wu.client.constant.ResTypeEnum;
import com.wu.client.dao.redis.Likes;
import com.wu.client.vo.req.FavoritesReq;
import com.wu.client.vo.res.song.SongResp;

import java.util.List;
import java.util.Map;

public interface UserLikesService {
    void likesAndUnlike(FavoritesReq favoritesReq);

    <T> Map<T, Likes> checkUserIfLike(ResTypeEnum typeEnum, Long userId, List<T> resIds);

    <T> Map<T, Likes> checkUserIfFans(FansTypeEnum typeEnum, Long userId, List<T> resIds);

}
